package com.beamfield.dao.lab;

import com.beamfield.model.ConcreteApproval;
import org.apache.ibatis.annotations.Param;

public interface ConcreteApprovalMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConcreteApproval record);

    int insertSelective(ConcreteApproval record);

    ConcreteApproval selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConcreteApproval record);

    int updateByPrimaryKey(ConcreteApproval record);

    ConcreteApproval selectByEntrustIdAndState(@Param("concrete_entrust_id") Long concreteEntrustId,@Param("state") Integer state);
}